package com.yang.designmode.builder;

// 测试类
public class Client {
    public static void main(String[] args) {
        HouseBuilder builder = new ConcreteHouseBuilder();
        Director director = new Director(builder);

        director.constructHouse();
        House house = builder.getHouse();

        System.out.println(house.toString());
    }
}